x86/emul: Debugging improvements to the test harness
authorAndrew Cooper <andrew.cooper3@citrix.com>
Tue, 25 Oct 2016 18:41:01 +0000 (19:41 +0100)
committerAndrew Cooper <andrew.cooper3@citrix.com>
Mon, 5 Dec 2016 14:44:53 +0000 (14:44 +0000)
commitc31f3be9b40d5d4703674b35081cfcbabd4ad8bb
tree079d48ef21d91209dc2148740239fb7d6bf1abb7
parent750c5f714b80bf467ccd2af86b7f6ff8d6e578b9
x86/emul: Debugging improvements to the test harness

Disable stdout buffering, so logging gets out even if the harness crashes.
Add a verbose option (compile time disabled) which dumps all read/write calls
the harness makes

Signed-off-by: Andrew Cooper <andrew.cooper3@citrix.com>
Reviewed-by: Jan Beulich <jbeulich@suse.com>
tools/tests/x86_emulator/test_x86_emulator.c